import request from "@/utils/request_wwg";
import type { resData } from "./model/categoryModel";

//定义请求地址
enum Api {
  GetCategoryList = "/revision/metadata/v2/group/all?includeChannels=true",
}

//获取分类列表
export const getCategoryListApi = () => {
  return request.get<any, resData>(Api.GetCategoryList);
};
